import { Col, Row } from 'antd';
import React from 'react';
import Header from './components/Header';
import NavLeft from './components/NavLeft';
import Footer from './components/Footer';
// import Home from './pages/home/index'
import './style/common.less'

export default class Admin extends React.Component{
    render(){
        return(
            <Row className="container">
               <Col span="3" className="nav-left">
                   <NavLeft />
               </Col>
               <Col span="21" className="main">
                   <Header />
                   <Row className="content">
                    {this.props.children}
                   </Row>
                   <Footer />
               </Col>
            </Row>
        )
    }
}
